package com.lab.project.visitor.record.mapper;

import com.lab.project.visitor.domain.FaceEntity;
import com.lab.project.visitor.domain.VisitorFaceEntity;

import java.util.List;

/**
 * 访客人脸表mapper
 * @author 黄晏凯
 */
public interface VisitorFaceMapper {
    /**
     * 添加访客人脸表
     * @param visitorFaceEntity
     * @return
     */
    Long addVisitorFace(VisitorFaceEntity visitorFaceEntity);

    /**
     * 通过userId查询FaceEntity
     * @param userId
     * @return
     */
    List<FaceEntity> getFaceEntityByUserId(Long userId);
}
